#include <stdio.h>
int main()
{
    int a = 10;
    int *pa = &a;

    printf("%d %p %d\n", a, pa, *pa);

    char c = 'a';
    char *pc = &c;
    printf("%c %p %c\n", c, pc, *pc);

    printf("%d %d\n", sizeof(pa), sizeof(pc));
    printf("%d %d\n", sizeof(*pa), sizeof(*pc));

    printf("pa=\t%u\n", pa);
    printf("pa+1=\t%u\n", pa + 1);

    printf("pc=%u\n", pc);
    printf("pc+1=%u\n", pc + 1);

    char str[] = "HELLO";
    printf("str   = %u \n", str);
    printf("str+1 = %u \n", str + 1);

    char *p1 = str;
    printf("str   = %u \n", p1);
    printf("str+1 = %u \n", p1 + 1);

    printf("str   = %c \n", *(p1));
    printf("str+1 = %c \n", *(p1 + 1));

    printf("%d ", sizeof(p1));
    printf("%d", sizeof(str));

    int array[] = {10, 20, 30, 40, 50, 60};
    int *p2 =array;
    return 0;
}